You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
645 B
25 lines
645 B
|
1 month ago
|
import React from "react";
|
||
|
|
import { getTech } from "../../../lib/data";
|
||
|
|
import { TechSection } from "../../../components/TechSection";
|
||
|
|
import { PageHero } from "../../../components/PageHero";
|
||
|
|
|
||
|
|
export const revalidate = 300;
|
||
|
|
|
||
|
|
export default function TechPage({ params }: { params: { locale: string } }) {
|
||
|
|
const locale = params.locale;
|
||
|
|
const data = getTech(locale);
|
||
|
|
return (
|
||
|
|
<main className="bg-huilong-bg text-[#f3f2f0]">
|
||
|
|
{data.hero && (
|
||
|
|
<PageHero
|
||
|
|
title={data.hero.title}
|
||
|
|
subtitle={data.hero.subtitle}
|
||
|
|
locale={locale}
|
||
|
|
/>
|
||
|
|
)}
|
||
|
|
<TechSection data={data} />
|
||
|
|
</main>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|